<!-- app/templates/admin/import_excel.html -->
{% extends "admin/base_site.html" %}
{% load i18n admin_urls static %}

{% block extrahead %}
    {{ block.super }}
    <style type="text/css">
        .form-row {
            padding: 10px;
            border-bottom: 1px solid #eee;
        }
        .submit-row {
            padding: 10px;
            margin-top: 20px;
        }
    </style>
{% endblock %}

{% block content %}
    <div id="content-main">
        <form method="post" enctype="multipart/form-data">
            {% csrf_token %}
            <div class="form-row">
                {{ form.as_p }}
            </div>
            <div class="submit-row">
                <input type="submit" value="导入" class="default" />
            </div>
        </form>
    </div>
{% endblock %}